<?php
include "../../../include/cp_header.php";
require_once "../../../mainfile.php";
require_once'../xoops_version.php';
include_once "../../../include/modules/admin_functions.php";
xoops_cp_header();

echo"<script type='text/javascript' src='js/admin.js'></script>\n";

if(!isset($_GET['currentID'])){
	$_GET['currentID'] = 0;
}

//Build Dojo Menu Tabs
groovyMenu($_GET['currentID']);

//set up variable to edit content coming from front side of module
if(isset($_GET['editId'])){
	echo "\n<script type='text/javascript'>
	\n editId = '".$_GET['editId']."';
	\n XOOPS_URL = '".XOOPS_URL."';
	\n XOOPS_URL_NON_SSL = '".XOOPS_URL_NON_SSL."';
	\n</script>\n\n";
}else{
	echo "\n<script type='text/javascript'>
	\n editId = 'null';
	\n XOOPS_URL = '".XOOPS_URL."';
	\n XOOPS_URL_NON_SSL = '".XOOPS_URL_NON_SSL."';
	\n</script>\n\n";
}


xoops_cp_footer();

?>